package Merlion.util.state;

public class InvoiceLineEntryState {

    private Long invoiceLineEntryId;
    private Long itemId;
    private String itemName;
    private int itemQuantity;
    private Double listPrice;
    private Double totalLinePrice;
    private boolean deleteFlag;

    public InvoiceLineEntryState(Long InvoiceLineEntryId, Long itemId, String itemName,
            int itemQuantity, Double listPrice, Double totalLinePrice, boolean deleteFlag) {
        this.setInvoiceLineEntryId(invoiceLineEntryId);
        this.setItemId(itemId);
        this.setItemName(itemName);
        this.setItemQuantity(itemQuantity);
        this.setListPrice(listPrice);
        this.setTotalLinePrice(totalLinePrice);
        this.setDeleteFlag(false);
    }

    public Long getInvoiceLineEntryId() {
        return invoiceLineEntryId;
    }

    public void setInvoiceLineEntryId(Long invoiceLineEntryId) {
        this.invoiceLineEntryId = invoiceLineEntryId;
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public int getItemQuantity() {
        return itemQuantity;
    }

    public void setItemQuantity(int itemQuantity) {
        this.itemQuantity = itemQuantity;
    }

    public Double getListPrice() {
        return listPrice;
    }

    public void setListPrice(Double listPrice) {
        this.listPrice = listPrice;
    }

    public Double getTotalLinePrice() {
        return totalLinePrice;
    }

    public void setTotalLinePrice(Double totalLinePrice) {
        this.totalLinePrice = totalLinePrice;
    }

    public boolean isDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(boolean deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
}
